import request from '@/utils/request'

// 查询分数信息列表
export function listScore_info(query) {
  return request({
    url: '/system/score_info/list',
    method: 'get',
    params: query
  })
}

// 查询分数信息详细
export function getScore_info(id) {
  return request({
    url: '/system/score_info/' + id,
    method: 'get'
  })
}

// 新增分数信息
export function addScore_info(data) {
  return request({
    url: '/system/score_info',
    method: 'post',
    data: data
  })
}

// 修改分数信息
export function updateScore_info(data) {
  return request({
    url: '/system/score_info',
    method: 'put',
    data: data
  })
}

// 删除分数信息
export function delScore_info(id) {
  return request({
    url: '/system/score_info/' + id,
    method: 'delete'
  })
}
